package com.studio701.carguard.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author xjc
 * @since 2022-04-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("driving_behavior")
@ApiModel(value="DrivingBehavior对象", description="")
public class DrivingBehavior implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "驾驶行为id")
    @TableId(value = "db_id", type = IdType.AUTO)
    private Integer dbId;

    @ApiModelProperty(value = "打瞌睡次数")
    @TableField("db_sleepytimes")
    private Integer dbSleepytimes;

    @ApiModelProperty(value = "打哈欠时长")
    @TableField("db_yawninglength")
    private BigDecimal dbYawninglength;

    @ApiModelProperty(value = "抽烟次数")
    @TableField("db_smokingtimes")
    private Integer dbSmokingtimes;

    @ApiModelProperty(value = "玩手机次数")
    @TableField("db_phonetimes")
    private Integer dbPhonetimes;

    @ApiModelProperty(value = "未目视前方次数")
    @TableField("db_novisualaheadtimes")
    private Integer dbNovisualaheadtimes;

    @ApiModelProperty(value = "双手离开方向盘次数")
    @TableField("db_leavesteeringwheel")
    private Integer dbLeavesteeringwheel;

    @ApiModelProperty(value = "用户id")
    @TableField("user_id")
    private Integer userId;


}
